//
//  HBaseViewController.h
//  NursingManages
//
//  Created by HuangZhen on 2017/5/31.
//  Copyright © 2017年 huangzhen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HCommon.h"
#import "UserDefault.h"

@interface HBaseViewController : UIViewController

-(void) alert:(NSString*)msg ;//callbackFn: (void(^)())callback;
-(void) alertMachine:(NSString *)machine callbackYesFn: (void(^)())callbackYes callbackNoFn: (void(^)())callbackNo;

-(void) confirm:(NSString*)msg callbackYesFn: (void(^)())callbackYes callbackNoFn: (void(^)())callbackNo;

/**
 iPhone会为每一个应用程序生成一个私有目录，这个目录位于：
 http://www.cnblogs.com/seeworld/p/6014524.html
 */
-(NSString*) DocumentsDirectory;


-(BOOL)fileExistsAtPath:(NSString*) filePath;

-(BOOL)createDirectoryAtPath:(NSString*) directory;

- (NSString *)createPrimaryID;
- (NSString *)getNowDate;
- (NSDictionary *)getMenuParam:(NSString*) param;

//- (NSArray *)GetNumber;
- (NSString *)ChineseWithInteger:(NSInteger)integer;


# pragma mark 收键盘
-(void)dismissKeyboardWithParentView:(UIView *)parentView;
-(UIToolbar *)getDismissKeyboradToolbar;
-(void)MyDismissKeyboardSelector;

-(NSString *) md5:(NSString *)str;

//计算在线考试用时
- (NSString *)getTotalTimeWithStartTime:(NSString *)startTime endTime:(NSString *)endTime;
@end



/*
 
 
 ld: warning: object file (/Users/Huangzhen/Library/Developer/Xcode/DerivedData/NursingManages-ehrxzrgbuvnwindrkgdvoxrqhcqd/Build/Products/Debug-iphonesimulator/libPods-NursingManages.a(Pods-NursingManages-dummy.o)) was built for newer iOS version (10.2) than being linked (8.0)

 
 */
